import request from '@/utils/request'

//查询放射卫生人员管理列表
export function getStaffList(params) {
  return request({
    url: '/radiation/staff/list',
    method: 'get',
    params: params
  })
}

//查看人员剂量检测报告
export function getDoseList(params) {
  return request({
    url: '/radiation/dose/list',
    method: 'get',
    params: params
  })
}
//查询放射卫生人单位调岗记录
export function getTransferpositionList(params) {
  return request({
    url: '/radiation/enterprisetransferposition/list',
    method: 'get',
    params: params
  })
}
//查看职业健康检查数据
export function getHealthCheckList(data) {
  return request({
    url: `/radiation/staff/personnel/healthReport/list`,
    method: 'post',
    headers: {'Content-Type': 'application/json'},
    data
  })
}
//健康数据详情
export function getHealthCheckDetail(id) {
  return request({
    url: `/radiation/staff/personnel/healthReport/${id}`,
    method: 'get',
  })
}
//导出职业卫生体检结果告知书
export function exportStaffInfo(data) {
  return request({
    url: '/radiation/enterpriseexamresultnotice/export',
    method: 'get',
    headers:{'Content-Type':'application/json'},
    data
  })
}
//查询放射卫生人员证件列表
export function getStaffCertifications(params) {
  return request({
    url: '/radiation/enterprisestaffcertificate/list',
    method: 'get',
    params: params
  })
}
//查询放射卫生工作经历列表
export function getStaffJobs(params) {
  return request({
    url: '/radiation/enterprisestaffjoblog/list',
    method: 'get',
    params: params
  })
}
//查询疑似职业病报告
export function getSuspectDisease(params) {
  return request({
    url: '/radiation/enterprisesuspectdisease/list',
    method: 'get',
    params: params
  })
}
//诊断委托材料
export function getDiagnoseProxy(params) {
  return request({
    url: '/radiation/enterprisediagnoseproxy/list',
    method: 'get',
    params: params
  })
}
